package com.example.web.websystem.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by YangGang on 2021/8/27 14:39。
 */
@Component
@Data
@ConfigurationProperties("system")
public class SystemProperties {
//    @Value("${system.version}")
//    private String version;
    private String version;
    private String uploadPath;
}
